Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NImageData Class / NImageData Constructor / NImageData Constructor(Byte[],NImageFormat)
A byte array containing encoded image data.
Image format of the encoded data. The specified image format must match the actual format of the data.


In This Topic
    NImageData Constructor(Byte[],NImageFormat)
    In This Topic
    Creates an image data object with the specified encoded data and associated image format. Use this constructor only if the actual image format of the data is known.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal imageBytes() As System.Byte, _
       ByVal imageFormat As NImageFormat _
    )
    'Usage
     
    
    Dim imageBytes() As System.Byte
    Dim imageFormat As NImageFormat
     
    Dim instance As New NImageData(imageBytes, imageFormat)
    public NImageData( 
       System.byte[] imageBytes,
       NImageFormat imageFormat
    )

    Parameters

    imageBytes
    A byte array containing encoded image data.
    imageFormat
    Image format of the encoded data. The specified image format must match the actual format of the data.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also